import React from 'react'
// import { View, Text } from 'react-native'
import { Button } from 'antd'
const user = (props: any) => {
  console.log("props:", props)
  return (
    <div>
      <div>User One</div>
      <Button type='primary' onClick={() => { props.history.push('/') }}>点我回首页</Button>
    </div>

  )
}

export default user
